/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Podiatrist Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20524 (C-0-T19465-S20522-S20524-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPodiatristProviderCodes()
 * @model extendedMetaData="name='PodiatristProviderCodes'"
 * @generated
 */
public enum PodiatristProviderCodes implements Enumerator {
	/**
	 * The '<em><b>213E00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213E00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_213E00000X(0, "_213E00000X", "213E00000X"),

	/**
	 * The '<em><b>213EG0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213EG0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_213EG0000X(1, "_213EG0000X", "213EG0000X"),

	/**
	 * The '<em><b>213EP1101X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213EP1101X_VALUE
	 * @generated
	 * @ordered
	 */
	_213EP1101X(2, "_213EP1101X", "213EP1101X"),

	/**
	 * The '<em><b>213EP0504X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213EP0504X_VALUE
	 * @generated
	 * @ordered
	 */
	_213EP0504X(3, "_213EP0504X", "213EP0504X"),

	/**
	 * The '<em><b>213ER0200X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ER0200X_VALUE
	 * @generated
	 * @ordered
	 */
	_213ER0200X(4, "_213ER0200X", "213ER0200X"),

	/**
	 * The '<em><b>213ES0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ES0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_213ES0000X(5, "_213ES0000X", "213ES0000X"),

	/**
	 * The '<em><b>213ES0131X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ES0131X_VALUE
	 * @generated
	 * @ordered
	 */
	_213ES0131X(6, "_213ES0131X", "213ES0131X"),

	/**
	 * The '<em><b>213ES0103X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_213ES0103X_VALUE
	 * @generated
	 * @ordered
	 */
	_213ES0103X(7, "_213ES0103X", "213ES0103X");

	/**
	 * The '<em><b>213E00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213E00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213E00000X
	 * @model literal="213E00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _213E00000X_VALUE = 0;

	/**
	 * The '<em><b>213EG0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213EG0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213EG0000X
	 * @model literal="213EG0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _213EG0000X_VALUE = 1;

	/**
	 * The '<em><b>213EP1101X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213EP1101X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213EP1101X
	 * @model literal="213EP1101X"
	 * @generated
	 * @ordered
	 */
	public static final int _213EP1101X_VALUE = 2;

	/**
	 * The '<em><b>213EP0504X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213EP0504X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213EP0504X
	 * @model literal="213EP0504X"
	 * @generated
	 * @ordered
	 */
	public static final int _213EP0504X_VALUE = 3;

	/**
	 * The '<em><b>213ER0200X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ER0200X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ER0200X
	 * @model literal="213ER0200X"
	 * @generated
	 * @ordered
	 */
	public static final int _213ER0200X_VALUE = 4;

	/**
	 * The '<em><b>213ES0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ES0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ES0000X
	 * @model literal="213ES0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _213ES0000X_VALUE = 5;

	/**
	 * The '<em><b>213ES0131X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ES0131X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ES0131X
	 * @model literal="213ES0131X"
	 * @generated
	 * @ordered
	 */
	public static final int _213ES0131X_VALUE = 6;

	/**
	 * The '<em><b>213ES0103X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>213ES0103X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_213ES0103X
	 * @model literal="213ES0103X"
	 * @generated
	 * @ordered
	 */
	public static final int _213ES0103X_VALUE = 7;

	/**
	 * An array of all the '<em><b>Podiatrist Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PodiatristProviderCodes[] VALUES_ARRAY =
		new PodiatristProviderCodes[] {
			_213E00000X,
			_213EG0000X,
			_213EP1101X,
			_213EP0504X,
			_213ER0200X,
			_213ES0000X,
			_213ES0131X,
			_213ES0103X,
		};

	/**
	 * A public read-only list of all the '<em><b>Podiatrist Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PodiatristProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Podiatrist Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PodiatristProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PodiatristProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Podiatrist Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PodiatristProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PodiatristProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Podiatrist Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PodiatristProviderCodes get(int value) {
		switch (value) {
			case _213E00000X_VALUE: return _213E00000X;
			case _213EG0000X_VALUE: return _213EG0000X;
			case _213EP1101X_VALUE: return _213EP1101X;
			case _213EP0504X_VALUE: return _213EP0504X;
			case _213ER0200X_VALUE: return _213ER0200X;
			case _213ES0000X_VALUE: return _213ES0000X;
			case _213ES0131X_VALUE: return _213ES0131X;
			case _213ES0103X_VALUE: return _213ES0103X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PodiatristProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PodiatristProviderCodes
